Release 10.1A: OpenEdge Data Management:
DataServer for Microsoft SQL Server
Data source record locking
In a DataServer application, MS SQL Server handles all of its own locking issues. The Progress 4GL locking rules are modified when you access information from an MSS data source. As a result, the Progress phrases
NO–LOCKandSHARE–LOCKhave isolation-level dependencies. TheEXCLUSIVE-LOCKbehaves the same in MS SQL Server as in an OpenEdge database.Table 2–5 provides data source specific comparisons.
The DataDirect drivers provide four transaction isolation levels in the following order from least to most restrictive: read uncommitted, read committed, repeatable read, and serializable. In a multi-user configuration, you can isolate users from each other in your data source by setting the isolation level. In your OpenEdge schema holder, use the
Note: MS SQL Server might use page-level or table-level locking rather than record-level locking, if its optimizer determines this is the best choice. This can affect data access when two or more users attempt to read or update different records that are on the same page. See your MS SQL Server documentation for details.–DsrvTXN_ISOLATION,nconnection parameter (wheren= 1, 2, 4, or 8) to set the isolation level in ODBC. See Microsoft documentation and the MS SQL Server documentation for more information.
Table 2–6: TXN_ISOLATION values in the –Dsrv parameter Value Meaning 1 Read uncommitted (default) 2 Read committed 4 Repeatable read 8 SerializableTable 2–6 shows the possible
–DsrvTXN_ISOLATION,nvalues with the respective meaning.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |